//
//  Theme.h
//  LYPhotos
//
//  Created by 美鑫科技 on 16/5/5.
//  Copyright © 2016年 MorpLCP. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, ThemeStyle){
    ThemeStyleForNightMode = 0,
    ThemeStyleForDaytimeMode,
};

@interface Theme : NSObject<NSCoding>

@property (nonatomic, assign) UIStatusBarStyle barStyle;
@property (nonatomic, assign) NSUInteger themeStyle;

@property (nonatomic, copy) NSString *themeName;
@property (nonatomic, strong) UIColor *themeColor;
@property (nonatomic, strong) UIImage *themeImage;
@property (nonatomic, copy) NSString *themeImageURL;
@property (nonatomic, strong) UIColor *themeTextColor;

@property (nonatomic, strong) UIColor *themeBodyColor;
@property (nonatomic, strong) UIImage *themeBodyImage;
@property (nonatomic, copy) NSString *themeBodyImageURL;

/**
 *  保存主题
 */
- (void)saveTheme:(Theme *)theme;

/**
 *  获取主题
 */
- (Theme *)getUITheme;

@end
